package com.hs.spring_001.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName HelloController
 * @Description TODO
 */
@RestController
@CrossOrigin
public class HelloController {

    @GetMapping("/hello")
    public String hello(){
        return "hello world";
    }
}
